package com.skyworth.web.admin.category.form;

import org.hibernate.validator.constraints.Length;

/**
 * Created by skyworth on 2016/8/8.
 */
public class CategoryForm {
	public long id;

//	@NotEmpty(message = "类别名不能为空")
	@Length(min=1,max=10)
	public String name;

	public long storeId;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getStoreId() {
		return storeId;
	}

	public void setStoreId(long storeId) {
		this.storeId = storeId;
	}
}
